/*
 * @Descripttion: 页面供货商后台管理路由
 * @version:
 * @Author: 穆宏宇
 * @Date: 2020-08-24 14:18:18
 * @LastEditors: 穆宏宇
 * @LastEditTime: 2020-11-10 10:19:37
 */
export default [
  {
    path: '/bid',
    name: 'bid',
    component: () => import('@/views/supplier/demand-manager/bid/index'),
    meta: { title: '项目询价', path: '/bid', show: true }
  },
  {
    path: '/e-commerce-putaway',
    name: 'e-commerce-putaway',
    component: () => import('@/views/supplier/commodity-management/e-commerce-putaway/index'),
    meta: { title: '电商商品上架管理', path: '/e-commerce-putaway' }
  }, {
    path: '/supplier-commerce-putawayt',
    name: 'supplier-commerce-putawayt',
    component: () => import('@/views/supplier/commodity-management/supplier-commerce-putawayt/index'),
    meta: { title: '本地供应商商品上架管理', path: '/supplier-commerce-putawayt' }
  },
  {
    path: '/supplier-commerce-putawayt-add',
    name: 'supplier-commerce-putawayt-add',
    component: () => import('@/views/supplier/commodity-management/supplier-commerce-putawayt/add-commerce'),
    meta: { title: '商品上架', path: '/supplier-commerce-putawayt' }
  },
  {
    path: '/supplier-base-info-manage',
    name: 'supplier-base-info-manage',
    component: () => import('@/views/supplier/manage/base-info-manage'),
    meta: { title: '基础信息管理', path: '/supplier-base-info-manage' }
  },
  {
    path: '/join-bid',
    name: 'join-bid',
    component: () => import('@/views/supplier/demand-manager/bid/join-bid'),
    meta: { title: '参与询价', path: '/bid', show: true }
  },
  {
    path: '/view-details',
    name: 'view-details',
    component: () => import('@/views/supplier/demand-manager/bid/view-details'),
    meta: { title: '查看询价', path: '/bid', show: true }
  },
  {
    path: '/view-bid',
    name: 'view-bid',
    component: () => import('@/views/supplier/demand-manager/view-bid/index'),
    meta: { title: '查看中标结果', path: '/view-bid', show: true }
  },
  {
    path: '/entrust-details',
    name: 'entrust-details',
    component: () => import('@/views/supplier/demand-manager/view-bid/entrust-details'),
    meta: { title: '委托明细', path: '/view-bid', show: true }
  },
  {
    path: '/offer-details',
    name: 'offer-details',
    component: () => import('@/views/supplier/demand-manager/view-bid/offer-details'),
    meta: { title: '历史报价明细', path: '/view-bid', show: true }
  },
  {
    path: '/pro-certificate',
    name: 'pro-certificate',
    component: () => import('@/views/supplier/demand-manager/pro-certificate/index'),
    meta: { title: '项目报名', path: '/pro-certificate', show: true }
  },
  {
    path: '/pro-editor',
    name: 'pro-editor',
    component: () => import('@/views/supplier/demand-manager/pro-certificate/pro-editor'),
    meta: { title: '编辑项目报名', path: '/pro-certificate', show: false }
  },
  {
    path: '/data-center',
    name: 'data-center',
    component: () => import('@/views/supplier/supplier-order/data-center'),
    meta: { title: '直购订单管理', path: '/data-center' }
  },
  {
    path: '/local-supplier',
    name: 'local-supplier',
    component: () => import('@/views/supplier/supplier-order/local-supplier'),
    meta: { title: '平台结算订单', path: '/local-supplier' }
  },
  {
    path: '/local-supplier-other',
    name: 'local-supplier-other',
    component: () => import('@/views/supplier/supplier-order/local-supplier-other'),
    meta: { title: '撮合结算订单', path: '/local-supplier-other' }
  },
  {
    path: '/supplier-detail',
    name: 'supplier-detail',
    component: () => import('@/views/supplier/supplier-order/detail'),
    meta: { title: '订单详情', path: '/data-center' }
  },
  {
    path: '/local-supplier-detail',
    name: 'local-supplier-detail',
    component: () => import('@/views/supplier/supplier-order/detail'),
    meta: { title: '订单详情', path: '/local-supplier' }
  },
  {
    path: '/reconciliation-emall',
    name: 'reconciliation-emall',
    component: () => import('@/views/supplier/reconciliation/emall'),
    meta: { title: '对账', path: '/reconciliation-emall' }
  },
  {
    path: '/reconciliation-localmall',
    name: 'reconciliation-localmall',
    component: () => import('@/views/supplier/reconciliation/localmall'),
    meta: { title: '对账', path: '/reconciliation-localmall' }
  },
  {
    path: "/smart-cabinet",
    name: "smart-cabinet",
    component: () => import('@/views/supplier/smartCabinet/index'),
    meta: { title: '智能柜管理', path: '/smart-cabinet' }
  },
  {
    path: "/supplier-mgt",
    name: "supplier-mgt",
    component: () => import('@/views/supplier/supplierMgt/index'),
    meta: { title: '供应商管理', path: '/supplier-mgt' }
  }
]
